package com.atwork;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * @desc: 项目打war包需要的配置类
 * @createUser： Zero
 * @createTime： 2018-08-01 12:30
 */
public class ServletInitializer extends SpringBootServletInitializer {

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
		return application.sources(AtworkApplication.class);
	}

}
